package com.medic.service.interf;

import com.medic.entity.group.pain.Plan;

/**
 * 计划操作接口
 * 
 * @author Mr.zhang
 *
 */
public interface PlanServiceInterface extends ServiceInterface<Plan> {

	/**
	 * 根据id进行查询
	 * 
	 * @param planId
	 *            计划id
	 * @return plan对象
	 * @throws Exception
	 */
	public Plan getById(int planId) throws Exception;

	/**
	 * 根据组的id查询
	 * 
	 * @param groupId
	 *            组id
	 * @return plan对象
	 * @throws Exception
	 */
	public Plan getByGroupId(int groupId) throws Exception;
}
